#ifndef __LOGMGR_H__
#define __LOGMGR_H__
#include <stdio.h>
#include <fstream>
#include "Date.h"

#pragma once
class CLogMgr
{
public:
	static CLogMgr *Instance();
	bool InitLog();

	void WriteLog(const char * format, ...);
	~CLogMgr();
protected:
	CLogMgr();
	std::ofstream file;
	Date curDate;
	bool bInit;
};

#endif